package com.mycompany.myapp.web.rest.webcontroller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Create by wys on 2018/7/11
 */

/**
 * webcontroller主要用来做页面跳转,
 * 功能需要再调用其他的controller
 * 和resource
 */

@Controller
@RequestMapping(value = "/home")
public class HomeController {

    @RequestMapping(method = RequestMethod.GET)
    public String getPage() {
        return "001";
    }

}
